﻿<%@ Page Language="C#" MasterPageFile="~/Shared.Master" AutoEventWireup="true" CodeBehind="filemodify.aspx.cs"
    Inherits="Lawyer.Web.modifyfile" Title="File Manager" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
$(function(){
       $(".form-input input[type='checkbox'] ").click(function(){
        var check=$(this).attr("checked");
        if(check){
        $("div.archive").show("slow");
        }else{
             $("div.archive").hide("slow");        
        }
       });
})

</script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">
    <div class="main-content">
        <header>
                            <h2>Resource Update </h2>
                        </header>
        <section class="container_6 clearfix">
                            <!-- Forms Section -->
                            <div class="grid_3">
                                <div class="portlet">
                                    <header>
                                        <h2>Resource Update</h2>
                                    </header>
                                    <section class="form has-validation">
                                            <div class="clearfix nonedisplay" >
                                                <label for="form-name" class="form-label" >File ID <em>*</em><small>Just show file ID 
                                                </small></label>
                                                <div class="form-input"><input  type="text" id="txtFileID" name="name" readonly="readonly" required="required" runat="server" /></div>
                                            </div>
                                  
                                            <div class="clearfix">
                                                <label for="form-name" class="form-label" >File Name <em>*</em><small>Enter your 
                                                file name</small></label>
                                                <div class="form-input"><input type="text" id="txtFileName" name="name" required="required" runat="server" /></div>
                                            </div>
                                            <div class="clearfix">
                                                <label for="form-textarea" class="form-label">File Note <em>*</em><small>Describe 
                                                file</small></label>
                                                <div class="form-input form-textarea"><asp:TextBox ID="txtFileNote" TextMode="MultiLine" runat="server"></asp:TextBox></div>
                                            </div>
                                            <div class="clearfix">
                                                <label for="form-upload" class="form-label">File <small>Choose your file</small></label>
                                                <div class="form-input"><asp:FileUpload ID="fileUpload" runat="server"></asp:FileUpload></div>
                                            </div>
                                            <div class="clearfix ">
                                                <label id="22" for="form-updates" class="form-label" >Case Related? <small>file related with case </small></label>
                                                <div class="form-input"><input type="checkbox" id="checkArchive" value="1" runat ="server" /></div>
                                            </div>
                                            <div class="clearfix archive nonedisplay">
                                                <label for="form-timezone" class="form-label">Choose Case <small>Find your 
                                                case</small></label>
                                                <div class="form-input">
                                                    <select id="ArchiveList" runat="server">
                                                        <option>America/Los Angeles</option>
                                                        <option>America/New York</option>
                                                        <option>Asia/Manila</option>
                                                    </select>
                                                </div>
                                            </div>
                                          
                                            
                                            <div class="form-action clearfix">
                                                <asp:Button CssClass="button"  ID="btnOK" 
                                                    data-icon-primary="ui-icon-circle-check"  runat="server" Text="OK" 
                                                    onclick="btnOK_Click"></asp:Button>
                                                <%--<button class="button" type="submit" data-icon-primary="ui-icon-circle-check">OK</button>--%>
                                                <asp:Button CssClass="button" ID="btnReSet" data-icon-primary="ui-icon-circle-check" runat="server" Text="Reset"></asp:Button>
                                                <%--<button class="button" type="reset">Reset  </button>   --%>                           </div>
                                             
                                    </section>
                                    </div>
                            </div>
                        </section>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="SideBar" runat="server">
    <nav>
    <a class="chevron" href="#">&raquo;</a>
    <ul>
        <li><a href="fileadd.aspx">New Resource</a></li>
        <li class="current"><a href="file.aspx">My Resource</a></li>
    </ul>
</nav>
</asp:Content>
